home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
CATAGING
/
SSII.LZH
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-12-04
|
2KB
|
67 lines
echo off
cls
echo
echo
echo
echo
echo
echo Installation in progress for SOFTWARE SUSIE II
echo
echo
echo
if "%1" == "" goto fail
if "%2" == "" goto fail
if "%2" == "H" goto hard
if "%2" == "h" goto hard
if "%2" == "f" goto floppy
if "%2" == "F" goto floppy
:hard
echo Creating directory %1\SSII
mkdir %1\SSII > nul
echo
echo Copying files to %1\SSII...
copy SSII.EXE %1\SSII
copy SSII.DOC %1\SSII
if not exist %1\SSII\SSUSIE.DBF copy SSUSIE.DBF %1\SSII
if not exist %1\SSII\CATEGORY.DBF copy CATEGORY.DBF %1\SSII
if not exist %1\SSII\PUBLISH.DBF copy PUBLISH.DBF %1\SSII
copy *.RPT %1\SSII
copy *.HLP %1\SSII
copy SSUSIE.DBT %1\SSII
cd %1\SSII
goto finish
:floppy
echo
echo Copying files to %1...
copy SSII.EXE %1
copy SSII.DOC %1
if not exist %1\SSUSIE.DBF copy SSUSIE.DBF %1
if not exist %1\CATEGORY.DBF copy CATEGORY.DBF %1
if not exist %1\PUBLISH.DBF copy PUBLISH.DBF %1
copy *.RPT %1\
copy *.HLP %1\
copy SSUSIE.DBT %1\
:finish
%1
echo
echo
echo Installation complete. Run SSII.EXE to execute the program
echo
echo Please read the file SSII.DOC for usage instructions.
echo
echo
goto end
:fail
echo Installation Instructions
echo
echo You must specify a drive letter and colon and hard or floppy drive indicator.
echo Example: "INSTALL C: H" for hard drive or "INSTALL B: F" for floppy drive.
echo If you specify H for a hard drive, a subdirectory named SSII will be created
echo on the specified drive, and the program will be installed there.
echo If you specify F for floppy drive, the program will be installed on the
echo root directory of the specified drive.
echo If you wish to install the program on the same drive the original is on
echo now, use diskcopy to make a working copy of this diskette.
echo Please try again.
:end